<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        
        const num1 = 100;
        const num2 = 3.14;
        const num3 = -20;
        const num4 = Infinity; //无穷大
        const num5 = 1 / 0;
        // infinity 表示计算无意义，在程序中需要避免这个值
        console.log(num4);
        console.log(num5);
    </script>
</body>

</html>